﻿namespace ApiLib.Common.Attributes.IocAttributes;

/// <summary>
/// 声明服务，作用域Singleton
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
public class ServiceAttribute : ComponentAttribute
{
    public ServiceAttribute() : base(DependencyType.Singleton)
    {
    }
}